feed all

ساخت وبلاگ

All times are GMT +1. The time now is 05:33 PM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 318 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 23:45

Hello,

I'm hoping this community can help me find a good alteative!

I'm using cryptsync on windows. It's a slick little app that works as folows:

  • You assign the first folder for Cryptsync to read. This is your unecrypted folder.
  • You assign a second folder for Cryptsync to copy all files from the first folder into as zipped and encrypted. So each and every file in the first folder is copied to the second folder as a zipped encrypted file. The encryption uses 7zip Method: LZMA 7zAES.

I use the above method whereby I copy the zipped and encrypted files from the second folder to my offiste (cloud) storage. In this way I own the encryption key for offiste backup in case my cloud storage is . I know it means double the space is used within my LAN to have two copies of each file...but it also means that my offsite storage backup only backs up files that have changed so offsite copy is quicker.

I'm looking for a Linux alteative to the above though. Cryptsync runs as a service on Windows. I'm running it in a Windows virtual machine. I'd like to move away from using Windows for this one purpose for backup and instead drop in an Ubuntu Server to run my backup/encryption task using the Ubuntu VM.

Is there a linux system/app built that will allow me to do this in a similar fashion?

Thank you.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 289 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 23:45

All times are GMT +1. The time now is 05:33 PM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 270 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 23:45

Thanks! Yeah, I'm going to try it, but I was just going to buy a lens cleaner disc. I can hear it spinning when it's first inserted, but it fails to read. So I was just going to clean it, try it again, and buy a new drive iif need be. I see that Samsung doesn't support these any more with firmware updates. I remember a long time ago I updated the firmware on one of my drives, probably not this one though.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 228 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 22:41

A few ways....

Windows Guest to remote Windows Guest Host...
With using Hyper-V, set your VM inteal in the OS to allow remote connection in the System properties. In your VM Guest Host (machine your are connecting from) start a remote desktop connection. At the panel where you see "connect" as an option, to the right of that button will be a link that says "options". Select that link.

The panel that will open will let you select local machine resource options that will be joined to that remote desktop connection. One of the options will be to allow use of the local USB ports... You will need to boot or reboot the VM guest from that connection for it to see a locally attached device, through that local port. Sadly, it doesn't work for everything, but allows "some" local access and resource mapping.

Linux Guest to remote Linux Guest Host
VNC to VNC, or Spice-to-Spice doing the same.

Linux Guest to Windows Guest Host
VNC to VNC compatible app doing the same.

Like I said, with Hyper-v, is limited... and what is gong to bring it close is the connection between (RDP, Spice or VNC) and how the app on the remote connection maps the local resources. The closest it's going to get is the Win-to-Win with RDP (hyper-v's native ties) and anything else, you would be trying to replicate that.

Personally, I have hyper-v here... but use some of my other Virtual Hosts to host most of my VM's. Hyper-V does what it does, but has it's limits. And what it does do, is not always convenient or easy.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 294 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 22:41

I am brand new to this and the program i am trying to install says i need libx11, libx11-dev & zlib, zlib-dev. I am showing that they are installed in the application manager but when installing the program i get this

/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lz

Is this something that must be done via command line?
Thanks in advance.
-clueless

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 311 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 22:41

Hello!

I'm pretty new to the whole linux thing and trying to lea by setting up little local headless server using Ubuntu Server 14.04.

One of the things that i need is a automatic backup to exteal HDD every couple of hours. I also want the files to be encrypted in some way.
After some research i figured the best way to do this would be Duplicity. So i followed this guide, skipping the SSH thing.

I ended up with this script: (located in /home/stef2/scripts/backup_notes.sh)

Code:

#!/bin/sh
test -x $(which duplicity) || exit 0
. /root/.passphrase
export PASSPHRASE
$(which duplicity) --encrypt-key 8BA9D028 /server/temp/_Notes file:///media/transcend/backup/
The passphrase file is just

Code:

PASSPHRASE="<my_passphrase_here>"
As the guide said, i made it only readable by root:

Code:

$sudo ls -la /root
...
-rwx------ 1 root root 22 Apr 18 16:56 .passphrase
...
Also following the instructions, i've created a key:

Code:

$ sudo gpg --list-keys
/home/stef2/.gnupg/pubring.gpg
------------------------------
pub 2048R/8BA9D028 2016-04-19
uid Butt Pirate (aaa) <my_email>
sub 2048R/96870DC1 2016-04-19
The passphrase i used creating the key is the same as in the passphrase file.

And the script works!
When i run it from the shell, it does the backup:

Code:

$ sudo ./backup_notes.sh
Synchronizing remote metadata to local cache...
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-full-signatures.20160419T112620Z.sigtar.gz (not authoritative at backend).
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-full.20160419T112620Z.manifest (not authoritative at backend).
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-inc.20160419T112620Z.to.20160419T115851Z.manifest (not authoritative at backend).
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-inc.20160419T115851Z.to.20160419T122040Z.manifest (not authoritative at backend).
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-new-signatures.20160419T112620Z.to.20160419T115851Z.sigtar.gz (not authoritative at backend).
Deleting local /home/stef2/.cache/duplicity/db36b31bd40a4143dea5e32e2b87af6b/duplicity-new-signatures.20160419T115851Z.to.20160419T122040Z.sigtar.gz (not authoritative at backend).
Last full backup date: none
No signatures found, switching to full backup.
--------------[ Backup Statistics ]--------------
StartTime 1461068463.72 (Tue Apr 19 15:21:03 2016)
EndTime 1461068463.78 (Tue Apr 19 15:21:03 2016)
ElapsedTime 0.06 (0.06 seconds)
SourceFiles 18
SourceFileSize 1978115 (1.89 MB)
NewFiles 18
NewFileSize 1978115 (1.89 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 18
RawDeltaSize 1977435 (1.89 MB)
TotalDestinationSizeChange 88880 (86.8 KB)
Errors 0
Not sure about the cache thing, but it does the job.
One thing the guide doesnt mention though, is that the script only works if run by root. Other users can't open the passphrase file.

However, i can't get it to work with cron.
As the script only works for root, i figured i need to use the root's crontab. I've also set for it to run every minute, instead of couple hours, just so i can test it faster, and tried to log the process to file.

Heres root's crontab (/tmp/crontab.WX2EPC/crontab):

Code:

# m h dom mon dow command */1 * * * * /home/stef2/scripts/backup_notes.sh > /var/log/backup_test/log1.log 2>&1
From the log i can guess that this is the gpg problem, but i have no idea how to fix it. The script doesn't have any problems with keys when run manually.

Code:

$ cat /var/log/backup_test/log1.log
Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20160419T122103Z.sigtar.gpg to local cache.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: encrypted with RSA key, ID 96870DC1
gpg: decryption failed: secret key not available
===== End GnuPG log =====
Being new to cron, i've tried different commands seen around the inteet, but all of them are failing, for one reason or another:

Code:

# */1 * * * * /bin/sh /home/stef2/scripts/backup_notes.sh > /var/log/backup_test/log1.log 2>&1
# */1 * * * * root /home/stef2/scripts/backup_notes.sh/ > /var/log/backup_test/log1.log 2>&1
# */1 * * * * cd /home/stef2/scripts && sudo ./backup_notes.sh > /var/log/backup_test/log1.log 2>&1
I've also made sure that i have empty lines at the end of the crontab file.

I've been stuck on this for many hours and could not find any more ideas on google, so please help a noob out! It feels like the solution i'm missing is very simple one, but i just can't get it!
Also, sorry for any mistakes, i'm not a native speaker and don't use forums much.

- Stef

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 287 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 21:17

First, I had a backup, so no panic. I just would like to know what happened and what could have been done to recover the data

I was experimenting with Boot Repair Disk on my Ubuntu 15.04 server. I first ran Boot-Info and noted that there was Grub installed on the RAID1 drive as well as the CF/IDE drive that was the bootable OS. I don't know how it got on the RAID1 drive to begin with. I chose the default repair, not advanced. Boot repair proceeded to "restore" Grub on all the hard drives in the system (1 RAID1, 2 non-raid, and CF/IDE drive). After the repair, the RAID1 drive appeared to be empty. The array was reported as "clean" though. I ran Boot-Info again and noted that Grub was still only on the RAID1 drive and the CF/IDE drive as before, not on the other 2 non-RAID drives.

Any obvious answers?

Thanks,

Todd K.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 260 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 21:17

Hey folks! I just started a new job that requires me to record video clips from mobile games. I did several hours of research into this, and I simply can't find any easy way to capture both video and audio from my Android phone using Linux. I did find:

  • adb command to record only video
  • Android apps to record using a *rooted* phone

I really don't want to try rooting my phone because of the danger of bricking it. And I do need audio, not just video. So my question is: with Android being Linux-based, there has to be some Linux app that grabs audio and video, right?

What am I not seeing?

Hope you can help me.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 271 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 21:17

All times are GMT +1. The time now is 01:53 PM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 227 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 20:05

All times are GMT +1. The time now is 01:53 PM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 274 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 20:05

Hi all,

I recently got a new image for my Raspberry-Pi. I got it flashed to the SD-Card and after the initial config task I installed the openvpn package.
I followed the instructions to setup the server and did: sudo service openvpn restart
To be save I issued a reboot afterwards and when the system was back 'systemctl -status openvpn' shows everything ok

Now I tried to connect with the Android OpenVPN Client (with the newly created mynetwork.ovpn file) but the connection fails with: Connection Timeout.
So I checked the openvpn server lock and saw:

Mon Apr 18 15:03:53 2016 us=304445 ERROR: could not not read Private Key password from stdin
Mon Apr 18 15:03:53 2016 us=304671 Exiting due to fatal error

So the VPN server tries to read the private key password from stdin ?
The previous Pi-Ubuntu didn't had that issue!

How to solve this probelm ?

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 270 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 20:05

Good evening from Weste Australia.

This is a bit weird perhaps.

I love Lubuntu which I put on older computers to donate to Pensioners, Students etc. Well donate is perhaps slightly wrong. I charge them $20 or a home cooked meal

What I want to do is create a Lubuntu Games Edition by doing some kind of sudo apt-get install lots of games type command.

That would be similar to my usual sudo apt-get install libreoffice rgbpaint vlc aisleriot lubuntu-restricted-extras for regular programs.

Most of the computers are Pentium 4 with 1Gb Ram.

Silly question but has anyone actually created a list like this? It would save me a lot of time than manually choosing all the games and creating it from scratch.

I've tried SparkyLinux GameOver edition but can never update it properly.

Regards,

Paul

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 275 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 19:04

All times are GMT +1. The time now is 12:52 PM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 273 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 19:04

Hello,

i bought the LENOVO Yoga 300 and made a fresh install of UBUNTU 16.04 LTS (beta2).
Everything is working out of the box, except hibeate.

When i close the lid and reopen it, the Display remains black. I have to hardreset/restart the System.

Can you please advice me the direction to go, to get this last feature working?

Thank you.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 326 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 19:04

Hi!

Just suddenl my Samba server stopped working. I've scheduled server boot at moing 9 pm and I wasn't able to reach samba server with my Windows pc:s. Last evening everything works just fine and there was no modifications between those moments.

Code:

sudo service smbd restart
stop: Unknown instance:
smbd start/running, process 11920
sudo service nmbd restart
nmbd stop/waiting
nmbd start/running
Started fresh by removing samba:

Code:

sudo apt-get autoremove samba samba-commonsudo apt-get autoremove system-config-samba
sudo apt-get install samba samba-common
sudo apt-get install system-config-samba cifs-utils

Code:

sudo testparm -v
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'share' for parameter 'security'
Error loading services.
sudo /etc/init.d/samba status * nmbd is not running * smbd is not running
Could anybody guide me to the right track for solving this problem?

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 238 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 18:03

Thread moved to Networking & Wireless.

Welcome. You are really asking two questions here: how to run a remote machine and how to share files/folders between two machines. Perhaps tackle getting a connection up and sharing files first then post remote machine setup questions in a new thread.

First off, can one machine ping the other and the router?

ping 192.168.0.***
... where '***' matches the details of the final number of the router or the other machine. Hit enter. Getting a ping time?

I find it makes things easier if you set static IPs on the two machines so they don't change anytime.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 257 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 17:02

All times are GMT +1. The time now is 10:50 AM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 231 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 17:02

All times are GMT +1. The time now is 10:50 AM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 211 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 17:02

All times are GMT +1. The time now is 09:47 AM.

feed all...
ما را در سایت feed all دنبال می کنید

برچسب : نویسنده : استخدام کار feedoll بازدید : 222 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 15:59